package com.zenchn.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zenchn.model.TSysDict;

import java.util.ArrayList;
import java.util.List;

/**
 * TSysDictVO：
 *
 * @author dingxinfa
 * @date 2020-04-16 10:22
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TSysDictVO extends TSysDict {

    private static final long serialVersionUID = 558265072044969991L;
    private List<TSysDictVO> children;

    private String dictTypeName;

    public List<TSysDictVO> getChildren() {
        return children;
    }

    public void setChildren(List<TSysDictVO> children) {
        this.children = children!=null?children:new ArrayList<>();
    }


    public String getDictTypeName() {
        return dictTypeName;
    }

    public void setDictTypeName(String dictTypeName) {
        this.dictTypeName = dictTypeName;
    }

    @Override
    public String toString() {
        return "TSysDictVO{" +
                "children=" + children +
                ", dictTypeName='" + dictTypeName + '\'' +
                '}';
    }
}
